<?php
/* @var $this TugasAkhirController */
/* @var $model TugasAkhir */

$this->breadcrumbs=array(
	'Tugas Akhirs'=>array('index'),
	$model->Title,
);

$this->menu=array(
	array('label'=>'List TugasAkhir', 'url'=>array('index')),
	array('label'=>'Create TugasAkhir', 'url'=>array('create')),
	array('label'=>'Update TugasAkhir', 'url'=>array('update', 'id'=>$model->ID_TA)),
	array('label'=>'Delete TugasAkhir', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ID_TA),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage TugasAkhir', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->Title; ?></h1>

<?php

$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		array(        
            'label'=>'Poster',
			'type'=>'raw',
			'value'=>html_entity_decode(CHtml::image(Yii::app()->request->baseUrl.$model->PosterPath,'',array('width'=>341,'height'=>232))),
        ),
		'PosterPath',
		'Abstrak',
		'Tahun',
		array(
            'label'=>'TAPath',
            'type'=>'raw',
            'value'=>CHtml::link(CHtml::encode($model->TAPath), array('download', 'id'=>$model->TAPath)),
        ),
	),
));

$this->widget('application.extensions.simpleshare.simpleshare', array(
    'pageTitle' => '',
	'pageUrl' => $model->TAPath,
    'pageDescription' => '',
    'pageType' => 'article',
    'pageImages' => array('/images/001.jpg', '/images/002.jpg'),
));
?>
